package com.etcxy.extendsDemo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class App1 {
	public static void main(String[] args) {
			
		ApplicationContext ac = new ClassPathXmlApplicationContext("com/etcxy/extendsDemo/beans.xml");
		StudentDemo stu = (StudentDemo) ac.getBean("stu");
		stu.introduceSelf();
	}
}
